<?php include "actions/cat_selector.php";  ?>

<div class="box">
    <!-- Box Head -->
    <div class="box-head">
        <h2>Edit category</h2>
    </div>
    <!-- End Box Head -->

  <!--  <form action="actions/news_editor.php?news_id=<?php echo $display['id']?>" method="POST">  -->
    <form action="actions/cat_editor.php" method="POST">
        <input type="hidden" name="id" value="<?php echo $display['id']?>" />

        <!-- Form -->
        <div class="form">
              <p>
                <label>Category Name</label>
                <input type="text" class="field size1" name="name" value="<?php echo $display['name']?>"/>
            </p>

       </div>

        <!-- End Form -->

        <!-- Form Buttons -->
        <div class="buttons">

            <a href="admin.php" class="link"> <input type="button" class="button" value="Back" /> </a>
            <input type="submit" class="button" value="Update" />

        </div>

        <!-- Form Buttons -->
        

        <!-- End Form -->

        <!-- Form Buttons -->
     

        <!-- End Form Buttons -->
    </form>
</div>

